<?php include("include.php");?>
<h1>Welcome to Your Profile  <a href="editProfile.php"><img width="24" src="images/edit-user-icon.png" /></a></h1>
<div id="barSeperator"></div>
<div id="profileTable">
	<table>
    	<tr>
        	<td id="label">Full Name</td>
            <td id="data"><?php echo $currentUser->getName();?></td>
        </tr>
        <tr>
        	<td id="label">Email</td>
            <td id="data"><?php  echo $currentUser->getEmail();?></td>
        </tr>
        <tr>
        	<td id="label">Country</td>
            <td id="data"><?php echo $currentUser->getCountry()->getName();?></td>
        </tr>
        <tr>
        	<td id="label">Role</td>
            <td id="data"><?php echo $currentUser->getRole()->getName();?></td>
        </tr>
        <tr>
        	<td id="label">Joined DHCS</td>
            <td id="data"><?php echo date('F-d-Y',$currentUser->getCreatedAt())?></td>
        </tr>
   	</table>
</div>
<?php include("includes/footer.php");?>